package com.bwie.pojo;

import cn.hutool.core.date.DateTime;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;
import lombok.Data;

/**
 * 用户表
 * @TableName tb_user
 */
@TableName(value ="tb_user")
@Data
public class TbUser {
    /**
     * 用户ID
     */
    @TableId(type = IdType.AUTO)
    private Integer userId;

    /**
     * 登录账号
     */
    private String userName;


    /**
     * 真实项目
     */
    private String nickName;


    /**
     * 手机号
     */
    private String userMobile;

    @TableField(exist = false)
    private String token;

    private Integer roleId;
    private String deptName;
    private Date birthday;


    private Integer custId;
    @TableField(exist = false)
    private String roleName;

}